<!DOCTYPE html>
<head>
	<% content_for :title, t("changenewpass") %>
</head>>
<body id="login-page">
	<div class="feat_prod_box_details">
		<div class="contact_form">
			<div class="form_subtitle">
				<%= t :changepass %>
			</div>
			<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
			<%= devise_error_messages! %>
			<div class="form_row">
				<strong class="contact1"><%= f.label t("currentpass")  %></strong>
				<%= f.password_field :current_password , :html => {:class => "contact_input"} %>
			</div>
			<div class="form_row">
				<strong class="contact1"><%= f.label t("newpass")  %></strong>
				<%= f.password_field :password, :autocomplete => "off", :html => {:class => "contact_input"} %>
			</div>

			<div class="form_row">
				<strong class="contact1"><%= f.label t("passconfirm") %></strong>
				<%= f.password_field :password_confirmation, :html => {:class => "contact_input"} %>
			</div>
			<div class="form_row">
				<input type="submit" class="register" value="<%= t :update %>" />
			</div>
			<br />
			<% end %>
			<strong class="changepass"><%= link_to t("back"), :back %></strong>
		</div>
	</div>
</body>
</html>
